package arrayList_basics.src.ExtendsDemo;

public class Test {
    public static void main(String[] args) {
        Manager m = new Manager("111","张三",2000,100);
        Manager c = new Manager("222","李四",1000,50);
        System.out.println(m.getName()+","+m.getBonus());
        System.out.println(c.getName()+","+c.getMoney());
    }
}
